TranslateListWithElements<T>
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class TranslateListWithElements<T>
Methods
CreateInstance(Type)
View Source
Declaration
public static object CreateInstance(Type toInstanceOfType)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Type | toInstanceOfType |
TranslateToIList(IList, Type)
View Source
Declaration
public static IList TranslateToIList(IList fromList, Type toInstanceOfType)
Returns
System.Collections.IList
Parameters
Type | Name |
---|---|
System.Collections.IList | fromList |
System.Type | toInstanceOfType |
LateBoundTranslateToGenericICollection(Object, Type)
View Source
Declaration
public static object LateBoundTranslateToGenericICollection(object fromList, Type toInstanceOfType)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | fromList |
System.Type | toInstanceOfType |
TranslateToGenericICollection(IEnumerable, Type)
View Source
Declaration
public static ICollection<T> TranslateToGenericICollection(IEnumerable fromList, Type toInstanceOfType)
Returns
System.Collections.Generic.ICollection<<T>>
Parameters
Type | Name |
---|---|
System.Collections.IEnumerable | fromList |
System.Type | toInstanceOfType |